package scheduler

import (
	"fmt"
	"time"
)

func CollectData() {
	timer := time.NewTicker(time.Second * 2)
	go func() {
		for _ = range timer.C {
			fmt.Printf("ticked at %v", time.Now())
		}
	}()
}
